package com.zenith.edu.po.dto;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "EduWarningRuleDTO", description = "预警规则DTO")
public class EduWarningRuleDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "课程ID")
    private Long courseId;
    
    @Schema(description = "规则名称")
    private String ruleName;
    
    @Schema(description = "阈值百分比")
    private BigDecimal thresholdPct;
    
    @Schema(description = "预警类型：1-低进度 2-低成绩 3-缺签到")
    private Integer warningType;
    
    @Schema(description = "状态：1-启用 2-禁用")
    private Integer status;
}